<div class="tab-pane active">
    <div class="box box-info">

        <div class="box-header with-border">
            <div class="box-title">在职员工</div>
        </div>
        <div class="box-body">
            <div>
                <!--<button class="btn btn-primary" id="sensitive-info-add" data-toggle="modal"-->
                <!--href="dist/module/sensitive-info/sensitive-info-list/sensitive-info-list-form-modal.html"-->
                <!--data-target="#sensitive-info-list-form">新增-->
                <!--</button>-->

                <form class="navbar-form navbar-left" role="search">

                    <div class="form-group">
                        <a ui-sref="employee-add" ng-click="Test()" type="button" class="btn btn-success">新增</a>
                        <input type="text" class="form-control" id="selectEmpName"  ng-model="empWhere.name" placeholder="姓名">
                    </div>
                    <div class="form-group">
                        <input type="text" class="form-control" id="selectEmpJobnum" ng-model="empWhere.jobnum" placeholder="工号">
                    </div>
                    <div class="form-group">
                        <input class="btn btn-default" ng-click="selectEmpByWhere()" type="button" value="查询">
                    </div>
                </form>
            </div>
            <table class="table table-bordered">
                <thead>
                <tr>
                    <!--<th style="width: 10px"><input type="checkbox" class="ace select-all"/></th>-->
                    <th class="text-center">序号</th>
                    <th class="text-center">工号</th>
                    <th class="text-center">姓名</th>
                    <th class="text-center"><span class="table-th">部门</span></th>
                    <th class="text-center">岗位</th>
                    <th class="text-center">联系方式</th>
                    <th class="text-center">上级姓名</th>
                    <th class="text-center">上级手机</th>
                    <th class="text-center">上级邮箱</th>
                    <th class="text-center">附件</th>
                    <th class="text-center">操作</th>

                </tr>
                <tr ng-repeat="item in emplist">
                    <td>{{item.number}}</td>
                    <td>{{item.jobnum}}</td>
                    <td>{{item.name}}</td>
                    <td>{{item.depart.name}}</td>
                    <td>{{item.post}}</td>
                    <td>{{item.phone}}</td>
                    <td>{{item.depart.manager_name}}</td>
                    <td>{{item.depart.phone}}</td>
                    <td>{{item.depart.email}}</td>
                    <td><a href="upload/{{item.information}}">入职附件</a></td>
                    <td>
                        <div class="form-group">
                            <!--<label   class="col-sm-2 control-label"></label>-->
                            <!--<label   class="col-sm-2 control-label"></label>-->
                            <!--<label   class="col-sm-2 control-label"></label>-->
                            <!--<label   class="col-sm-2 control-label"></label>-->
                            <div class="col-sm-4">
                                <button class="btn btn-info" ng-click="toUpdate(item.id)" type="submit">查看详情</button>
                            </div>
                        </div>
                    </td>
                </tr>
                </thead>

            </table>

        </div>
        <div class="box-footer no-border">
            <pagination-component total-items="list.totalCounts"
                                  current-page="list.pageIndex"
                                  page-size="list.pageSize"
                                  select-page="NextListData(pageIndex)">
            </pagination-component>
        </div>

    </div>
</div>

